use std::collections::HashSet;
pub fn new_count_distinct(input_str: &str) -> usize {
    let s = String::from(input_str);
    let words = s.split(',').collect::<Vec<_>>();
    let mut set = HashSet::new();
    for str in words {
        set.insert(str);
    }
    set.len()
}
